package kgc.crm.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
    * 自定义字段值
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "kgc_crm_admin_fieldv")
public class AdminFieldv {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "field_id")
    private Integer fieldId;

    /**
     * 字段名称
     */
    @TableField(value = "name")
    private String name;

    @TableField(value = "value")
    private String value;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "batch_id")
    private String batchId;

    public static final String COL_ID = "id";

    public static final String COL_FIELD_ID = "field_id";

    public static final String COL_NAME = "name";

    public static final String COL_VALUE = "value";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_BATCH_ID = "batch_id";
}